module.exports = {
  apps : [{
    name: 'situation-warning',
    script: 'npm run start:prod',
    instances: 1,
    autorestart: true,
    watch: false,
    // max_memory_restart: '1G',
    env: {
      NODE_ENV: 'development'
    },
    env_production: {
      NODE_ENV: 'production'
    },
    out:'/node-logs/situation-warning/out.log',
    error:'/node-logs/situation-warning/error.log',
    log_date_format: "YYYY-MM-DD HH:mm", 
  }],
  // 'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production'
};

